#pragma once

#include "TerminalGroup.h"

class CTerminalConnection : public CTerminalGroup
{
public:
	CTerminalConnection();
	virtual ~CTerminalConnection();

public:
	virtual bool			IsConnection() { return true; }

	virtual void			SetIP( std::tstring& strIP )		{ m_tstrIP = strIP; }
	virtual std::tstring	GetIP() const						{ return m_tstrIP;	}

	virtual void			SetPort( std::tstring& strPort )	{ m_tstrPort = strPort; }
	virtual std::tstring	GetPort() const						{ return m_tstrPort;	}

	virtual void			SetID( std::tstring& strID )		{ m_tstrID = strID;	}
	virtual std::tstring	GetID() const						{ return m_tstrID;	}
	
	virtual void			SetPW( std::tstring& strPW )		{ m_tstrPW = strPW;	}
	virtual std::tstring	GetPW() const						{ return m_tstrPW;	}

private:
	std::tstring			m_tstrIP;
	std::tstring			m_tstrPort;
	std::tstring			m_tstrID;
	std::tstring			m_tstrPW;
};

